{include file='../header.htm'}
<form action="admin/save" method="post" id="form-admin_add">
<table class="tb-nospaing tb-table">
    <caption class="caption">{$TITLE}</caption>
    <tbody>
        <tr class="bg-fff">
            <td class="td-left">用户名<span class="font-red">*</span></td>
            <td class="td-right"><input type="text" name="sa_user" id="txt-username" value="{$data.sa_user|default}" /></td>
        </tr>
        <tr class="bg-fff">
            <td class="td-left">真实姓名<span class="font-red">*</span></td>
            <td class="td-right"><input type="text" name="real_name" id="txt-real_name" value="{$data.real_name|default}" /></td>
        </tr>
        <tr class="bg-fff">
            <td class="td-left">密码<span class="font-red">*</span></td>
            <td class="td-right"><input type="password" name="sa_pswd" id="txt-pswd" autocomplete="off" value="" /></td>
        </tr>
        <tr class="bg-fff">
            <td class="td-left">确认密码<span class="font-red">*</span></td>
            <td class="td-right">
                <input type="password" name="sa_pswd_confirm" id="txt-pwd_confirm" value=""  />
                <span class="font-grey">不修改请留空</span>
            </td>
        </tr>
        <tr class="bg-fff">
            <td class="td-left">所属管理组<span class="font-red">*</span></td>
            <td class="td-right">
                {html_options name=group_id options=$group selected=$data.group_id|default id='select-group_id'}
            </td>
        </tr>
        <tr class="bg-fff">
            <td class="td-left"></td>
            <td class="td-right">
                <input type="submit" class="btn disabled" value="保 存" />
                <input type="hidden" name="said" id="hidden-admin_id" value="{$data.said|default}" />
            </td>
        </tr>
    </tbody>
</table>
<input type="hidden" id="hidden-redirectUrl" value="{$smarty.server.HTTP_REFERER|default:$smarty.const.WEBSITE:cat:'/admin'|urlencode}" />
</form>
{include file='../footer.htm' other_js='jquery.validate.min,jquery.form.min,admin' js_block='ADMIN.add();'}